import Vue from 'vue'
import ElementUI from 'element-ui';
import router from './router'
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue';
import 'echarts'
import ECharts from 'vue-echarts'

Vue.component('VueEcharts', ECharts)

Vue.config.productionTip = false

// http工具
import http from './http/http.js';
Vue.prototype.$http = http;
// Vue.prototype.$echarts = echarts

Vue.use(ElementUI);

new Vue({
	router,
  render: h => h(App),
}).$mount('#app')